package com.sc.mapper;

import com.sc.pojo.ExamSheet;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExamSheetMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ExamSheet record);

    int insertSelective(ExamSheet record);

    ExamSheet selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ExamSheet record);

    int updateByPrimaryKey(ExamSheet record);
    Integer selectSumScoreByExamId(Integer id);
    List<ExamSheet> selectShowExam(@Param("userid") Integer userid, @Param("examid") Long examid);
    int deleteSheet(Integer id);
    int deleteExamSheet(Long id);
    int deleteClassExam(Long id);
}